@import url(https://fonts.googleapis.com/css?family=Roboto&display=swap);

* {
    padding: 0;
    margin: 0;
    font-family: arial;
    text-transform: uppercase;
    color: #fff;
    text-shadow: -.5px -.5px 0 #000, .5px -.5px 0 #000, -.5px .5px 0 #000, .5px .5px 0 #000
}

.ui {
    position: relative;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0);
    display: none;
    opacity: 100%;
    z-index: 0;
    background: url() no-repeat fixed;
    background-position-x: center;
    background-position-y: center
}

.inventory {
    position: absolute;
    left: 30%;
    top: 60%;
    transform: translate(-50%, -50%);
    width: 620px;
    height: 600px;
    box-shadow: 1px 1px 10px rgba(58, 58, 58, 0);
    background-color: rgba(235, 235, 235, 0)
}

#playerInventory {
    width: 420px;
    height: 555px;
    float: left;
    overflow-y: scroll
}

#playerInventoryFastItems {
    width: 650px;
    height: 50px;
    position: absolute;
    bottom: 90.4%;
    left: 0;
    z-index: 100;
    float: left
}

#controls {
    width: 100px;
    height: 100px;
    float: center;
    position: absolute;
    left: 95%;
    top: 30%
}

#otherInventory {
    width: 420px;
    height: 555px;
    float: left;
    overflow-y: scroll;
    position: absolute;
    top: 0;
    left: 150%;
    box-shadow: 1px 1px 10px rgba(58, 58, 58, 0);
    background-color: rgba(235, 235, 235, 0)
}

#count {
    border: none;
    outline: 0;
    font-size: 16px
}

input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0
}

input[type=number] {
    -moz-appearance: textfield
}

.slot {
    float: left;
    width: 100px;
    height: 100px;
    bottom: -25%;
    background-color: #161c24;
    box-shadow: 0 0 0 1.5px #252f3a;
    border-radius: 0;
    margin: 2px;
    position: relative
}

.slotfix {
    float: left;
    width: 100px;
    height: 100px;
    background-color: #161c24;
    margin: 2px;
    position: relative
}

.slot:hover {
    width: 100px;
    height: 100px;
    background: #161c24;
    border: 0 solid rgba(255, 255, 255, 0);
    border-radius: 0
}

.slotFast {
    float: left;
    width: 79px;
    height: 75px;
    background-color: #161c24;
    box-shadow: 0 0 0 1.5px #252f3a;
    border-radius: 2px;
    margin: 2px;
    position: relative
}

.slotFast:hover {
    opacity: .8
}

.item,
.item-other {
    width: 79px;
    height: 79px;
    position: bottom;
    margin-left: auto;
    margin-right: auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center
}

.item-name {
    position: absolute;
    bottom: 0;
    text-align: center;
    padding-top: 0;
    padding-bottom: 1px;
    width: 79px;
    z-index: 500;
    font-size: 12px;
    background-color: rgba(19, 19, 19, 0);
    border-radius: 0
}

.ui-draggable-dragging .item-count,
.ui-draggable-dragging .item-name {
    display: none
}

.item-count {
    position: absolute;
    top: 0;
    text-align: right;
    width: 79px;
    height: 20px;
    z-index: 500
}

.keybind {
    position: absolute;
    top: 0;
    text-align: left;
    width: 20px;
    height: 20px;
    z-index: 500;
    background-color: rgba(0, 0, 0, .01);
    text-align: center
}

.ammoIcon {
    width: 2px;
    height: 5px
}

.info-div {
    text-align: left;
    padding: 5px;
    background-color: rgba(110, 110, 110, 0);
    border: 2px solid rgba(255, 255, 255, 0);
    width: 50%;
    position: absolute;
    left: 420%;
    top: -110%;
    width: 174px;
    transform: translate(-50%, -50%)
}

.info-div2 {
    text-align: left;
    padding: 5px;
    background-color: rgba(110, 110, 110, 0);
    border: 2px solid rgba(255, 255, 255, .3);
    width: 174px;
    position: absolute;
    left: 15.5%;
    top: -6%;
    transform: translate(-50%, -50%)
}

.controls-div {
    position: relative;
    left: 100%;
    top: 110%;
    transform: translate(-50%, -50%);
    float: left
}

.control {
    width: 160px;
    height: 50px;
    background: 0 0;
    margin: 10px;
    text-align: center;
    vertical-align: middle;
    line-height: 50px;
    background: #161c24;
    box-shadow: 0 0 0 2px #252f3a;
    border: transparent;
}
.control.disabled {
    background-color: rgba(0, 0, 0, .1)
}

.hoverControl {
    width: 160px;
    height: 50px;
    background-color: #252f3a;
    letter-spacing: 2px;
    animation: fadeIn;
    transition: 2s;
}

.used-item-slot {
    position: absolute;
    right: 50px;
    bottom: 50%;
    width: 100px;
    height: 100px;
    background-color: rgba(124, 124, 124, .356);
    border-style: solid;
    border-color: rgba(255, 255, 255, .2);
    border-width: 1px 1px 1px 1px
}

#used-item-image {
    width: 4px;
    height: 4px;
    background-image: url(img/used-item.png);
    background-repeat: no-repeat;
    background-position-x: 0
}

.added-item-slot {
    position: absolute;
    right: 50px;
    bottom: 50%;
    width: 100px;
    height: 100px;
    background-color: rgba(124, 124, 124, .356);
    border-style: solid;
    border-color: rgba(255, 255, 255, .2);
    border-width: 1px 1px 1px 1px
}

#added-item-image {
    width: 4px;
    height: 4px;
    background-image: url(img/added-item.png);
    background-repeat: no-repeat;
    background-position-x: 0
}

.item-name-bg {
    width: 100%;
    height: 10px;
    position: absolute;
    bottom: 0
}

#otherInventory::-webkit-scrollbar-track,
#playerInventory::-webkit-scrollbar-track {
    background-color: none;
    border: none
}

#otherInventory::-webkit-scrollbar,
#playerInventory::-webkit-scrollbar {
    width: 3px;
    left: 105px
}

#otherInventory::-webkit-scrollbar-thumb,
#playerInventory::-webkit-scrollbar-thumb {
    background-color: rgba(114, 114, 114, 0)
}

.nearbyPlayerButton {
    width: 100%;
    margin-top: 5px;
    display: block;
    text-decoration: none;
    padding: 2px;
    background-color: rgba(110, 110, 110, .5);
    border: 1px solid rgba(255, 255, 255, .3);
    text-shadow: none;
    font-size: 14px !important;
    outline: 0;
    text-transform: none;
    text-align: center;
    line-height: 30px;
    border: none
}

.nearbyPlayerButton:hover {
    background-color: rgba(235, 235, 235, .1)
}

#noSecondInventoryMessage {
    width: 615px;
    height: 580px;
    line-height: 580px;
    text-align: center
}

@media (max-width:1500px) {
    .inventory {
        width: 1300px
    }

    #playerInventory {
        width: 550px
    }

    #controls {
        width: 1000px
    }

    #otherInventory {
        width: 550px
    }

    #noSecondInventoryMessage {
        width: 540px
    }
}

@media (max-width:1300px) {
    .inventory {
        width: 1000px
    }

    #playerInventory {
        width: 425px
    }

    #controls {
        width: 1000px
    }

    #otherInventory {
        width: 425px
    }

    #noSecondInventoryMessage {
        width: 420px
    }
}